package com.oydsoft.service.code.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.oydsoft.api.code.S96Service;
import com.oydsoft.dto.code.S96;
import com.oydsoft.service.code.mapper.S96Mapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@Transactional
public class S96ServiceImpl implements S96Service {

    @Autowired
    private S96Mapper s96Mapper;

    @Override
    public void voidTest() {
        System.out.println("void test");
    }

    public String test(){
        return "code";
    }

    public List<S96> mapper(){
        List<S96> s96List = s96Mapper.selectList(new QueryWrapper<>());
        return s96List;
    }
}